package com.songcha.library_business.handler.home_dialog

import android.content.Context
import com.songcha.library_business.proxy.configuration.SystemConfigurationManager
import com.songcha.library_common.ui.dialog.CustomDialog
import com.songcha.library_common.util.NetworkUtil
import io.reactivex.Observable

class NoNetWorkDialog(context: Context):AbsHomeDialog(context) {

    override fun getPriority(): Int {
        return 996
    }

    override fun needShowDialog(): Observable<Boolean> {
        return Observable.just(false)
    }

    override fun showDialog() {
        val db=CustomDialog.Companion.Builder(context)
        db.setDialogMsg("当前无网络连接")
            .create().show()
    }

}